const clsses = {

    swiperContainer: {
        
    }

}

class Swiper {

    /**
     * 创建对象
     * @param {*} container 容器的选择器或者容器DOM对象
     */
    constructor(container) {
        if (container instanceof String) {
            this.container = document.querySelector(container);
        } else {
            this.container = container;
        }
        this.container.classList.add("swiper-container")
    }

    /**
     * 设置图片路径
     * @param  {...any} urls 图片路径
     */
    setImageURLs(...urls) {
        this.imageURLs = urls;

        urls.forEach(v => {
            let div = document.createElement("div");
            div.classList.add("swiper-item");
        });
    }
}